import request from '@/utils/http.js';

//地址列表
export function list(data){
	return request.post("/xcx/address/list",data)
}

//添加地址
export function add(data){
	return request.post("/xcx/address/add",data)
}
//编辑地址
export function update(data){
	return request.post("/xcx/address/edit",data)
}
//回显地址信息
export function detail(data){
	return request.post("/xcx/address/detail",data)
}
//删除地址
export function delAddress(data){
	return request.post("/xcx/address/delete",data)
}
//设置默认地址
export function addEditAddress(data){
	return request.post("/xcx/address/default",data)
}

